ec3426b8278ecc68814974350216804ab11ac4d9,src/main/java/com/lishid/openinv/internal/v1_8_R1/AnySilentChest.java,AnySilentChest,IsAnyChestNeeded,#Player#number#number#number#,33
Before Change
BlockPosition position = new BlockPosition(x, y, z);
EntityPlayer player = ((CraftPlayer) p).getHandle();
World world = player.world;
BlockChest chest = (BlockChest) Block.getByName("chest");
// If block on top
if (topBlocking(world, position)) {
After Change
BlockPosition position = new BlockPosition(x, y, z);
EntityPlayer player = ((CraftPlayer) p).getHandle();
World world = player.world;
BlockChest chest = (BlockChest) (((BlockChest) world.getType(position).getBlock()).b == 1 ?
Block.getByName("trapped_chest") : Block.getByName("chest"));
// If block on top
if (topBlocking(world, position)) {